<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <link rel="icon" href="./favico.ico" />
  <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
  <title>OpenHarmony DATASTAT</title>
</head>

<body>
  <div id="app"></div>
  <div id="ieTips" style="text-align: center;padding:20px 0;display: none;">
    <p>不支持IE，请使用其他浏览器访问！</p>
    <p>IE is not supported, please use another browser to visit!</p>
  </div>
  <script type="module" src="./src/main.ts"></script>
  <script>
    function isIE() {
      if (!!window.ActiveXObject || "ActiveXObject" in window) {
        return true;
      } else {
        return false;
      }
    }
    if (isIE()) {
      document.querySelector('#ieTips').style.display = 'block'
    } 
  </script>
  <script>
    const hm = document.createElement('script');
    hm.src = 'https://hm.baidu.com/hm.js?0f2023d05716710fab4f4d4352f4c9ce';
    hm.classList.add('analytics-script');
    document.head.append(hm);
  </script>
</body>

</html>